<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> 
<head profile="http://www.w3.org/2000/08/w3c-synd/#">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
	<title>{% block title %}CCI:U{% endblock %}</title>
	<link rel="shortcut icon" href="/media/images/favicon.ico" />
	<link rel="icon" type="image/png" href="/media/images/favicon.png" />
	<link rel="stylesheet" type="text/css" href="/media/css/common.css" />
	<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/media/css/common.ie7.css" /><![endif]-->
	<script type="text/javascript" src="/media/js/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="/media/js/jquery-easing-1.3.js"></script>
	<script type="text/javascript" src="/media/js/jquery-ui-1.7.2.custom.min.js"></script>
	<script type="text/javascript" src="/media/js/common.js"></script>
	<link rel="stylesheet" type="text/css" href="/media/css/ui-lightness/jquery-ui-1.7.2.custom.css" />
	<!--[if lte IE 6]><script type="text/javascript" src="/media/js/supersleight.js"></script><![endif]-->
{% block extra_headers %}{% endblock %}
</head>
<body id="page-{% block pageid %}{% endblock %}" class="{% block pageclass %}{% endblock %}">
<div id="wrap">
	<div id="header-wrap">
		<div id="header">
			<div id="header-content">
				<h1><a href="/">NexR CCI:U</a></h1>
				{% block header %}{% endblock %}
				<div id="status">
					{% if user.is_authenticated %}
						{{user.email}} |
						{% if user.is_superuser %}
						<a href="/admin/">Admin</a> |
						{% else %}
						<a href="/account/mypage/">My Page</a> |
						{% endif %}
						<a href="/logout/">Sign Out</a>
					{% else %}
						<a href="/login/?next={{request.path|urlencode}}">Sign In</a> |
						<a href="/account/create/">Register</a>
					{% endif %}
				</div>
				<div id="navigation">
					<ul>
						<li><a href="/"><span>Home</span></a></li>
						<li><a href="/lab/"><span>Course Labs</span></a></li>
						{% if user.is_authenticated %}
						<li><a href="/account/mypage/"><span>My Page</span></a></li>
						{% endif %}
						<li><a href="/help/"><span>Help</span></a></li>
					</ul>
				</div>
				{% block extra_header_content %}{% endblock %}
			</div>
		</div>
	</div><!-- /header-wrap -->
	<div id="content-wrap">
		<div id="content">
			{% block sidebar %}{% endblock %}
			<div id="content-body">
			{% block content %}{% endblock %}
			</div>
		</div>
	</div>
	<div id="footer-wrap">
		<div id="footer">
			<p id="copyright">Copyright&copy; 2009, NexR (http://www.nexr.co.kr)</p>
			<p id="contact"><a href="/contributors/">Contributors</a> | <a href="/acknowledgement/">Acknowledgement</a></p>
		</div>
	</div>
</div>
</body>
</html>
